#include <stdio.h>

int main(void) {
    // scanf
    int i, j;
    float x, y;
    scanf("%d%d%f%f", &i, &j, &x, &y);

    // printf
    i = 40;
    x = 839.21f;

    printf("|%d|%5d|%-5d|%5.3d|\n", i, i, i, i);
    printf("%10.3f|%10.3e|%-10g|\n", x, x, x);
}